#include "torch.h"

Torch::Torch() {
    SetRectColor(255, 0, 0);  // 手电筒默认自身颜色是红色
}

Torch::~Torch() {

}

void Torch::SetIsTurnOn(bool t) {
    IsTurnOn_ = t;
}

void Torch::SetLightColor(Uint8 r, Uint8 g, Uint8 b) {
    LightColor_.r = r;
    LightColor_.b = b;
    LightColor_.g = g;
}

SDL_Color Torch::GetLightColor() {
    return LightColor_;
}

